package org.example.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class ServiceException extends RuntimeException {

    private Integer code;

    public ServiceException(String msg, Integer code) {
        super(msg);
        this.code = code;
    }
}
